:root
{
    --manageButtonBoxHeight: 72px;
    --searchBoxHeight: 48px;
}

/*search box 相关样式*/
#table-name-input
{
    background-color: rgba(0, 0, 0, 0);
    width: 100px;
    height: 100%;
    padding: 0;
    margin: 0;
    font-size: 16px;
    transition: 0.3s;
    border: none;
    border-right: 2px solid #000;
    border-top: 2px solid #000;
    border-bottom: 2px solid #000;
    border-top-right-radius: calc(0.5 * var(--searchBoxHeight));
    border-bottom-right-radius: calc(0.5 * var(--searchBoxHeight));
    top: -2px;
    left: calc(var(--searchBoxHeight) / 2);
    position: relative;
}

#table-name-input:focus
{
    outline: none;
}

#search-text-input
{
    background-size: 24px;
    background-color: inherit;
    font-size: 15px;
    padding: 0;
    padding-inline-start: calc(var(--searchBoxHeight) / 2 + 20px);
    padding-inline-end: calc(var(--searchBoxHeight) - 4px);
    width: 100%;
    border: none;
}

#search-text-input:focus
{
    outline: none;
}

#search-button
{
    background: url("../icon/search.svg") no-repeat center center;
    background-size: 16px 16px;
    border: none;
    padding: 0;
    fill: white;
    height: var(--searchBoxHeight);
    align-self: center;
    inset-inline-end: 2px;
    position: absolute;
    width: var(--searchBoxHeight);
    cursor: pointer;
    opacity: 0.5;
    transition: 0.3s;
}

#search-button:hover
{
    opacity: 1
}

#search-button:focus
{
    outline: none;
}

#search-box
{
    position: relative;
    top: 25px;
    left: 50px;
    cursor: default;
    height: var(--searchBoxHeight);
    /*position: relative;*/
    width: 65%;
    display: flex;
    margin: 0;
    padding: 0;
    border: 2px solid #000;
    border-radius: calc(0.5 * var(--searchBoxHeight));
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}

/*info box 相关*/
#info-box-outer
{
    position: relative;
    top: 25px;
    width: calc(100% - 72px);
    padding: 12px 24px;
}

.info-box
{
    padding: 24px 48px;
    width: 65%;
    margin-top: 20px;
    margin-bottom: 20px;
    border: 2px solid #000;
    border-radius: calc(0.5 * var(--searchBoxHeight));
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
}

.row-key-label, .column-label, .row-key-text, .column-text
{
    position: absolute;
    display: inline-block;
    height: 24px;
    line-height: 24px;
}

.row-key-label, .column-label
{
    width: 50px;
}

.row-key-label
{
    inset-inline-start: 74px;
}

.column-label
{
    inset-inline-start: 304px;
}

.row-key-text
{
    inset-inline-start: 124px;
}

.column-text
{
    inset-inline-start: 354px;
}

.open-button
{
    height: 24px;
    width: 24px;
    display: inline-block;
    position: absolute;
    inset-inline-start: 534px;
    color: brown;
    background-color: rgba(0, 255, 150, 0.8);
    border: none;
    border-radius: 3px;
    transition: 0.2s;
    box-shadow: 0 0 2px 0 rgba(0, 0, 0, 0.8);
}

.open-button:hover
{
    background-color: rgba(0, 255, 180, 1);
    box-shadow: 0 0 4px 0 rgba(0, 255, 180, 0.8);
}

.open-button:active
{
    background-color: rgba(0, 255, 180, 1);
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 1);
}

.value-content
{
    background-color: #f1f1f1;
    font-size: 22px;
}